package org.net.httpclient
{
	import com.adobe.net.URI;
	
	import flash.events.EventDispatcher;

	public class HttpClient extends EventDispatcher
	{
		private var _socket:HttpSocket;
		
		public function HttpClient()
		{
		}
		
		
		/**
		 * Load a generic request.
		 *  
		 * @param uri URI
		 * @param request HTTP request
		 */
		public function request(uri:URI, request:HttpRequest):void {
			_socket = new HttpSocket();
			_socket.request(uri, request);
		}
	}
}